package com.twu.biblioteca;

public class CustomerBuilder {
    private int curUsername;
    public static final int initialUsername = 1111111;

    public CustomerBuilder() {
        curUsername = initialUsername;
    }

    public Customer buildCustomer(String password, String email, String phoneNumber) {
        Customer customer = new Customer(curUsername, password, email, phoneNumber);
        curUsername++;
        return customer;
    }
}
